package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.query.SearchQueryObject;
import cn.wolfcode.luowowo.search.template.ScenicspotTemplate;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IScenicspotTemplateSearchService {
    /**
     * 新增或更新
     * @param scenicspotTemplate
     */
    void saveOrUpdate(ScenicspotTemplate scenicspotTemplate);

    /**
     * 查询所有景点的分页
     * @return
     */
    Page<ScenicspotTemplate> list(SearchQueryObject qo);
}
